package com.mfangsoft.zhuangjialong.app.applogin.model;

import java.io.Serializable;
import java.util.Date;

/**
 *   消费者表
 * table t_app_customer
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class CustomerEntity implements Serializable {
    /**
     *   用户id
     * column id
     *
     * @MLTH_generated
     */
    private Long id;

    /**
     *   用户账号
     * column account
     *
     * @MLTH_generated
     */
    private String account;

    /**
     *   用户姓名
     * column name
     *
     * @MLTH_generated
     */
    private String name;

    /**
     *   用户密码
     * column password
     *
     * @MLTH_generated
     */
    private String password;

    /**
     *   用户头像
     * column head_url
     *
     * @MLTH_generated
     */
    private String head_url;

    /**
     *   0：男;1:女
     * column gender
     *
     * @MLTH_generated
     */
    private Byte gender;

    /**
     *   用户生日
     * column birthday
     *
     * @MLTH_generated
     */
    private Date birthday;

    /**
     *   联系电话
     * column phone
     *
     * @MLTH_generated
     */
    private String phone;

    /**
     *   邀请注册/自主注册
     * column property
     *
     * @MLTH_generated
     */
    private Integer property;

    /**
     *   消费者id
     * column inviter_id
     *
     * @MLTH_generated
     */
    private Long inviter_id;

    /**
     *   导购id
     * column exshopper_id
     *
     * @MLTH_generated
     */
    private Long exshopper_id;

    /**
     *   邮箱
     * column email
     *
     * @MLTH_generated
     */
    private String email;

    /**
     *   0:普通用户,1:会员
     * column level
     *
     * @MLTH_generated
     */
    private Integer level;

    /**
     *   喜好品类
     * column class_id
     *
     * @MLTH_generated
     */
    private Integer class_id;

    /**
     *   喜好空间
     * column space
     *
     * @MLTH_generated
     */
    private Integer space;

    /**
     *   喜好风格
     * column style
     *
     * @MLTH_generated
     */
    private Integer style;

    /**
     *   是否接受订单消息
     * column isreceive_message_order
     *
     * @MLTH_generated
     */
    private Byte isreceive_message_order;

    /**
     *   是否接受活动消息
     * column isreceive_message_appointment
     *
     * @MLTH_generated
     */
    private Byte isreceive_message_appointment;

    /**
     *   否接受通知消息
     * column isreceive_message_note
     *
     * @MLTH_generated
     */
    private Byte isreceive_message_note;

    /**
     *   是否接受智能家居消息
     * column isreceive_message_smart
     *
     * @MLTH_generated
     */
    private Byte isreceive_message_smart;

    /**
     *   注册时间
     * column create_time
     *
     * @MLTH_generated
     */
    private Date create_time;

    /**
     *   改变账号次数
     * column change_status
     *
     * @MLTH_generated
     */
    private Integer change_status;

    /**
     *   来源（0::app 1:小程序）
     * column source
     *
     * @MLTH_generated
     */
    private Integer source;

    /**
     *   商户id
     * column sys_user_id
     *
     * @MLTH_generated
     */
    private Long sys_user_id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_app_customer
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *   用户id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getId() {
        return id;
    }

    /**
     *   用户id
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     *   用户账号
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getAccount() {
        return account;
    }

    /**
     *   用户账号
     * @param account the value for 
     *
     * @MLTH_generated
     */
    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    /**
     *   用户姓名
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getName() {
        return name;
    }

    /**
     *   用户姓名
     * @param name the value for 
     *
     * @MLTH_generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     *   用户密码
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getPassword() {
        return password;
    }

    /**
     *   用户密码
     * @param password the value for 
     *
     * @MLTH_generated
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     *   用户头像
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getHead_url() {
        return head_url;
    }

    /**
     *   用户头像
     * @param head_url the value for 
     *
     * @MLTH_generated
     */
    public void setHead_url(String head_url) {
        this.head_url = head_url == null ? null : head_url.trim();
    }

    /**
     *   0：男;1:女
     * @return the value of TINYINT
     *
     * @MLTH_generated
     */
    public Byte getGender() {
        return gender;
    }

    /**
     *   0：男;1:女
     * @param gender the value for 
     *
     * @MLTH_generated
     */
    public void setGender(Byte gender) {
        this.gender = gender;
    }

    /**
     *   用户生日
     * @return the value of DATE
     *
     * @MLTH_generated
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     *   用户生日
     * @param birthday the value for 
     *
     * @MLTH_generated
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     *   联系电话
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getPhone() {
        return phone;
    }

    /**
     *   联系电话
     * @param phone the value for 
     *
     * @MLTH_generated
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     *   邀请注册/自主注册
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getProperty() {
        return property;
    }

    /**
     *   邀请注册/自主注册
     * @param property the value for 
     *
     * @MLTH_generated
     */
    public void setProperty(Integer property) {
        this.property = property;
    }

    /**
     *   消费者id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getInviter_id() {
        return inviter_id;
    }

    /**
     *   消费者id
     * @param inviter_id the value for 
     *
     * @MLTH_generated
     */
    public void setInviter_id(Long inviter_id) {
        this.inviter_id = inviter_id;
    }

    /**
     *   导购id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getExshopper_id() {
        return exshopper_id;
    }

    /**
     *   导购id
     * @param exshopper_id the value for 
     *
     * @MLTH_generated
     */
    public void setExshopper_id(Long exshopper_id) {
        this.exshopper_id = exshopper_id;
    }

    /**
     *   邮箱
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getEmail() {
        return email;
    }

    /**
     *   邮箱
     * @param email the value for 
     *
     * @MLTH_generated
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     *   0:普通用户,1:会员
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getLevel() {
        return level;
    }

    /**
     *   0:普通用户,1:会员
     * @param level the value for 
     *
     * @MLTH_generated
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     *   喜好品类
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getClass_id() {
        return class_id;
    }

    /**
     *   喜好品类
     * @param class_id the value for 
     *
     * @MLTH_generated
     */
    public void setClass_id(Integer class_id) {
        this.class_id = class_id;
    }

    /**
     *   喜好空间
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getSpace() {
        return space;
    }

    /**
     *   喜好空间
     * @param space the value for 
     *
     * @MLTH_generated
     */
    public void setSpace(Integer space) {
        this.space = space;
    }

    /**
     *   喜好风格
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getStyle() {
        return style;
    }

    /**
     *   喜好风格
     * @param style the value for 
     *
     * @MLTH_generated
     */
    public void setStyle(Integer style) {
        this.style = style;
    }

    /**
     *   是否接受订单消息
     * @return the value of TINYINT
     *
     * @MLTH_generated
     */
    public Byte getIsreceive_message_order() {
        return isreceive_message_order;
    }

    /**
     *   是否接受订单消息
     * @param isreceive_message_order the value for 
     *
     * @MLTH_generated
     */
    public void setIsreceive_message_order(Byte isreceive_message_order) {
        this.isreceive_message_order = isreceive_message_order;
    }

    /**
     *   是否接受活动消息
     * @return the value of TINYINT
     *
     * @MLTH_generated
     */
    public Byte getIsreceive_message_appointment() {
        return isreceive_message_appointment;
    }

    /**
     *   是否接受活动消息
     * @param isreceive_message_appointment the value for 
     *
     * @MLTH_generated
     */
    public void setIsreceive_message_appointment(Byte isreceive_message_appointment) {
        this.isreceive_message_appointment = isreceive_message_appointment;
    }

    /**
     *   否接受通知消息
     * @return the value of TINYINT
     *
     * @MLTH_generated
     */
    public Byte getIsreceive_message_note() {
        return isreceive_message_note;
    }

    /**
     *   否接受通知消息
     * @param isreceive_message_note the value for 
     *
     * @MLTH_generated
     */
    public void setIsreceive_message_note(Byte isreceive_message_note) {
        this.isreceive_message_note = isreceive_message_note;
    }

    /**
     *   是否接受智能家居消息
     * @return the value of TINYINT
     *
     * @MLTH_generated
     */
    public Byte getIsreceive_message_smart() {
        return isreceive_message_smart;
    }

    /**
     *   是否接受智能家居消息
     * @param isreceive_message_smart the value for 
     *
     * @MLTH_generated
     */
    public void setIsreceive_message_smart(Byte isreceive_message_smart) {
        this.isreceive_message_smart = isreceive_message_smart;
    }

    /**
     *   注册时间
     * @return the value of TIMESTAMP
     *
     * @MLTH_generated
     */
    public Date getCreate_time() {
        return create_time;
    }

    /**
     *   注册时间
     * @param create_time the value for 
     *
     * @MLTH_generated
     */
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    /**
     *   改变账号次数
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getChange_status() {
        return change_status;
    }

    /**
     *   改变账号次数
     * @param change_status the value for 
     *
     * @MLTH_generated
     */
    public void setChange_status(Integer change_status) {
        this.change_status = change_status;
    }

    /**
     *   来源（0::app 1:小程序）
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getSource() {
        return source;
    }


	/**
     *   来源（0::app 1:小程序）
     * @param source the value for 
     *
     * @MLTH_generated
     */
    public void setSource(Integer source) {
        this.source = source;
    }

    /**
     *   商户id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getSys_user_id() {
		return sys_user_id;
	}

    /**
     *   商户id
     * @param merchant_id the value for 
     *
     * @MLTH_generated
     */
    public void setSys_user_id(Long sys_user_id) {
    	this.sys_user_id = sys_user_id;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", account=").append(account);
        sb.append(", name=").append(name);
        sb.append(", password=").append(password);
        sb.append(", head_url=").append(head_url);
        sb.append(", gender=").append(gender);
        sb.append(", birthday=").append(birthday);
        sb.append(", phone=").append(phone);
        sb.append(", property=").append(property);
        sb.append(", inviter_id=").append(inviter_id);
        sb.append(", exshopper_id=").append(exshopper_id);
        sb.append(", email=").append(email);
        sb.append(", level=").append(level);
        sb.append(", class_id=").append(class_id);
        sb.append(", space=").append(space);
        sb.append(", style=").append(style);
        sb.append(", isreceive_message_order=").append(isreceive_message_order);
        sb.append(", isreceive_message_appointment=").append(isreceive_message_appointment);
        sb.append(", isreceive_message_note=").append(isreceive_message_note);
        sb.append(", isreceive_message_smart=").append(isreceive_message_smart);
        sb.append(", create_time=").append(create_time);
        sb.append(", change_status=").append(change_status);
        sb.append(", source=").append(source);
        sb.append(", sys_user_id=").append(sys_user_id);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}